package com.wuad.platformwuad.module.Excel.controller.easyExcel.entity;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 创建实体类
 *
 * @author wuad
 */
public class ReadData {

    /**
     *  设置列对应的属性
     */
    @ExcelProperty(index = 0)
    private String name;

    /**
     * 设置列对应的属性
     */
    @ExcelProperty(index = 1)
    private String age;

    /**
     * 设置列对应的属性
     */
    @ExcelProperty(index = 2)
    private String sex;


    /**
     * 设置列对应的属性
     */
    @ExcelProperty(index = 3)
    private String address;




    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }



    @Override
    public String toString() {
        return "ReadData{" +
                "name=" + name +
                "age=" + age +
                "sex=" + sex +
                ", address='" + address + '\'' +
                '}';
    }
}
